package com.gubei.auth.application.convert;

import com.gubei.auth.application.dto.AuthRoleDTO;
import com.gubei.auth.domain.entity.AuthRoleBO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface AuthRoleDTOConverter {

    AuthRoleDTOConverter INSTANCE = Mappers.getMapper(AuthRoleDTOConverter.class);

    AuthRoleDTO convertBoToDto(AuthRoleBO authRoleBO);

    AuthRoleBO convertDtoToBo(AuthRoleDTO authRoleDTO);
}
